/* 轮播图容器样式 */
.sui-carousel.slide {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    height: 460px;
}

/* 轮播图内部容器 */
.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 轮播包装器 - 用于实现无缝轮播 */
.carousel-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    will-change: transform;
}

/* 轮播项样式 */
.carousel-wrapper .item {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

/* 轮播项图片样式 */
.carousel-wrapper .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

/* 轮播项链接样式 */
.carousel-wrapper .item a {
    display: block;
    width: 100%;
    height: 100%;
}

/* 轮播指示器样式 */
.carousel-indicators {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 10;
}

.carousel-indicators li {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.carousel-indicators li.active {
    width: 30px;
    border-radius: 5px;
    background-color: #fff;
}

/* 轮播控制按钮样式 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 20px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control.left {
    left: 0;
}

.carousel-control.right {
    right: 0;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

/* 轮播图响应式设计 */
@media (max-width: 768px) {
    .sui-carousel.slide {
        height: 200px;
    }
    
    .carousel-control {
        width: 30px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
    }
    
    .carousel-indicators {
        bottom: 10px;
    }
    
    .carousel-indicators li {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
    
    .carousel-indicators li.active {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .sui-carousel.slide {
        height: 150px;
    }
}

/* 轮播图动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 性能优化 */
.carousel-wrapper {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.carousel-wrapper .item img {
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}